package com.gigalaxy.game
{

	public final class Errors
	{
		public static const No_Error:int = 0;

		public static var ServerError_ERROR:int = 1;

		public static var UnknownPlayerInRoundException_ERROR:int = 2;

		public static var RoundFinishedException_ERROR:int = 3;

		public static var NotInTurnException_ERROR:int = 4;

		public static var GameNotStartedException_ERROR:int = 5;

		public static var CardAlreadyDealedException_ERROR:int = 6;

		public static var UncategorizedThrowCardsException_ERROR:int = 7;

		public static var CardsNotInHandException_ERROR:int = 8;

		public static var LowerCardsException_ERROR:int = 9;

		public static var GameFinishedException_ERROR:int = 10;

		public static var MustContain3SpadesThrowCardException_ERROR:int = 11;

		public static var RoomNotConfiguredException_ERROR:int = 12;

		public static var RoomAlreadyConfigException_ERROR:int = 13;

		public static var RoomGroupFullException_ERROR:int = 14;

		public static function message(errorCode:int):String
		{
			return errorCode.toString();
		}
	}
}
